# -*- coding: utf-8 -*-
import csv

fr = csv.reader(open('words.csv','r'))
data = []
for item in fr:
    data.append(item[0])
print(len(data))
for _ in (list(set(data))):
    print(_)